from flask import Flask
from routes import register_routes  # 引入路由注册函数

app = Flask(__name__)

# 注册路由
register_routes(app)

# 启动服务
if __name__ == '__main__':
    app.run(debug=True, host='0.0.0.0', port=5000)